package com.atguigu.spring.annotation.service.impl;

import com.atguigu.spring.annotation.dao.UserDao;
import com.atguigu.spring.annotation.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author wk
 * @create 2021-06-01 21:44
 */
//@Service("userService")
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    @Qualifier("userDaoImpl")
    private UserDao userDao;

    @Override
    public void saveUser() {
        userDao.saveUser();
    }
}
